package com.lc.YYGH.hosp.repository;


import com.lc.YYGH.model.hosp.Hospital;
import com.lc.YYGH.model.office.LawOffice;
import org.springframework.context.annotation.Bean;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface OfficeRepository extends MongoRepository<LawOffice,String> {

    LawOffice findByOfficecode(String officecode);
}
